﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="logdbDataSet" targetNamespace="http://tempuri.org/logdbDataSet.xsd" xmlns:mstns="http://tempuri.org/logdbDataSet.xsd" xmlns="http://tempuri.org/logdbDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="logdbConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="logdbConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Critr.Properties.Settings.GlobalReference.Default.logdbConnectionString" Provider="Microsoft.SqlServerCe.Client.3.5" />
        </Connections>
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="logdbDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="logdbDataSet" msprop:Generator_UserDSName="logdbDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="LogHeader" msprop:Generator_TableClassName="LogHeaderDataTable" msprop:Generator_TableVarName="tableLogHeader" msprop:Generator_TablePropName="LogHeader" msprop:Generator_RowDeletingName="LogHeaderRowDeleting" msprop:Generator_UserTableName="LogHeader" msprop:Generator_RowChangingName="LogHeaderRowChanging" msprop:Generator_RowEvHandlerName="LogHeaderRowChangeEventHandler" msprop:Generator_RowDeletedName="LogHeaderRowDeleted" msprop:Generator_RowEvArgName="LogHeaderRowChangeEvent" msprop:Generator_RowChangedName="LogHeaderRowChanged" msprop:Generator_RowClassName="LogHeaderRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Programmer" msprop:Generator_ColumnVarNameInTable="columnProgrammer" msprop:Generator_ColumnPropNameInRow="Programmer" msprop:Generator_ColumnPropNameInTable="ProgrammerColumn" msprop:Generator_UserColumnName="Programmer" type="xs:string" minOccurs="0" />
              <xs:element name="id" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="BroadcastDate" msprop:Generator_ColumnVarNameInTable="columnBroadcastDate" msprop:Generator_ColumnPropNameInRow="BroadcastDate" msprop:Generator_ColumnPropNameInTable="BroadcastDateColumn" msprop:Generator_UserColumnName="BroadcastDate" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ShowName" msprop:Generator_ColumnVarNameInTable="columnShowName" msprop:Generator_ColumnPropNameInRow="ShowName" msprop:Generator_ColumnPropNameInTable="ShowNameColumn" msprop:Generator_UserColumnName="ShowName" type="xs:string" minOccurs="0" />
              <xs:element name="Guest" msprop:Generator_ColumnVarNameInTable="columnGuest" msprop:Generator_ColumnPropNameInRow="Guest" msprop:Generator_ColumnPropNameInTable="GuestColumn" msprop:Generator_UserColumnName="Guest" type="xs:string" minOccurs="0" />
              <xs:element name="Time" msprop:Generator_ColumnVarNameInTable="columnTime" msprop:Generator_ColumnPropNameInRow="Time" msprop:Generator_ColumnPropNameInTable="TimeColumn" msprop:Generator_UserColumnName="Time" type="xs:string" minOccurs="0" />
              <xs:element name="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" msprop:Generator_UserColumnName="Description" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LogEntry" msprop:Generator_TableClassName="LogEntryDataTable" msprop:Generator_TableVarName="tableLogEntry" msprop:Generator_TablePropName="LogEntry" msprop:Generator_RowDeletingName="LogEntryRowDeleting" msprop:Generator_UserTableName="LogEntry" msprop:Generator_RowChangingName="LogEntryRowChanging" msprop:Generator_RowEvHandlerName="LogEntryRowChangeEventHandler" msprop:Generator_RowDeletedName="LogEntryRowDeleted" msprop:Generator_RowEvArgName="LogEntryRowChangeEvent" msprop:Generator_RowChangedName="LogEntryRowChanged" msprop:Generator_RowClassName="LogEntryRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" msprop:Generator_UserColumnName="id" type="xs:int" />
              <xs:element name="LogHeader_id" msprop:Generator_ColumnVarNameInTable="columnLogHeader_id" msprop:Generator_ColumnPropNameInRow="LogHeader_id" msprop:Generator_ColumnPropNameInTable="LogHeader_idColumn" msprop:Generator_UserColumnName="LogHeader_id" type="xs:int" />
              <xs:element name="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnPropNameInTable="TitleColumn" msprop:Generator_UserColumnName="Title" type="xs:string" minOccurs="0" />
              <xs:element name="Artist" msprop:Generator_ColumnVarNameInTable="columnArtist" msprop:Generator_ColumnPropNameInRow="Artist" msprop:Generator_ColumnPropNameInTable="ArtistColumn" msprop:Generator_UserColumnName="Artist" type="xs:string" minOccurs="0" />
              <xs:element name="Album" msprop:Generator_ColumnVarNameInTable="columnAlbum" msprop:Generator_ColumnPropNameInRow="Album" msprop:Generator_ColumnPropNameInTable="AlbumColumn" msprop:Generator_UserColumnName="Album" type="xs:string" minOccurs="0" />
              <xs:element name="Duration" msprop:Generator_ColumnVarNameInTable="columnDuration" msprop:Generator_ColumnPropNameInRow="Duration" msprop:Generator_ColumnPropNameInTable="DurationColumn" msprop:Generator_UserColumnName="Duration" type="xs:double" minOccurs="0" />
              <xs:element name="Log" msprop:Generator_ColumnVarNameInTable="columnLog" msprop:Generator_ColumnPropNameInRow="Log" msprop:Generator_ColumnPropNameInTable="LogColumn" msprop:Generator_UserColumnName="Log" type="xs:int" minOccurs="0" />
              <xs:element name="Cancon" msprop:Generator_ColumnVarNameInTable="columnCancon" msprop:Generator_ColumnPropNameInRow="Cancon" msprop:Generator_ColumnPropNameInTable="CanconColumn" msprop:Generator_UserColumnName="Cancon" type="xs:boolean" minOccurs="0" />
              <xs:element name="Hit" msprop:Generator_ColumnVarNameInTable="columnHit" msprop:Generator_ColumnPropNameInRow="Hit" msprop:Generator_ColumnPropNameInTable="HitColumn" msprop:Generator_UserColumnName="Hit" type="xs:boolean" minOccurs="0" />
              <xs:element name="Chart" msprop:Generator_ColumnVarNameInTable="columnChart" msprop:Generator_ColumnPropNameInRow="Chart" msprop:Generator_ColumnPropNameInTable="ChartColumn" msprop:Generator_UserColumnName="Chart" type="xs:boolean" minOccurs="0" />
              <xs:element name="Class" msprop:Generator_ColumnVarNameInTable="columnClass" msprop:Generator_ColumnPropNameInRow="Class" msprop:Generator_ColumnPropNameInTable="ClassColumn" msprop:Generator_UserColumnName="Class" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LogHeader" />
      <xs:field xpath="mstns:id" />
    </xs:unique>
    <xs:unique name="LogEntry_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LogEntry" />
      <xs:field xpath="mstns:id" />
      <xs:field xpath="mstns:LogHeader_id" />
    </xs:unique>
    <xs:keyref name="FK_LogHeader_LogEntry" refer="Constraint1" msprop:rel_Generator_UserChildTable="LogEntry" msprop:rel_Generator_ChildPropName="GetLogEntryRows" msprop:rel_Generator_ParentPropName="LogHeaderRow" msprop:rel_Generator_UserRelationName="FK_LogHeader_LogEntry" msprop:rel_Generator_RelationVarName="relationFK_LogHeader_LogEntry" msprop:rel_Generator_UserParentTable="LogHeader">
      <xs:selector xpath=".//mstns:LogEntry" />
      <xs:field xpath="mstns:LogHeader_id" />
    </xs:keyref>
  </xs:element>
</xs:schema>